package com.ktjy.service.impl;

import com.ktjy.entity.Livecommerce;
import com.ktjy.mapper.LivecommerceMapper;
import com.ktjy.service.LivecommerceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class LivecommerceServiceImpl implements LivecommerceService {

    @Autowired
    LivecommerceMapper livecommerceMapper;

    @Override
    public List<Livecommerce> select() {
        return livecommerceMapper.select();
    }

    @Override
    public int add(Livecommerce concert) {
        return livecommerceMapper.add(concert);
    }

    @Override
    public int delete(Integer id) {
        return livecommerceMapper.delete(id);
    }

    @Override
    public Livecommerce selectListId(Integer id) {
        return livecommerceMapper.selectListId(id);
    }
}
